<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>订单支付</title>
    <meta name="decorator" content="cms_default_${site.theme}"/>
    <meta name="description" content="ccjzxyxt ${site.description}"/>
    <meta name="keywords" content="ccjzxyxt ${site.keywords}"/>
    <script type="application/javascript">
        var ctxAdmin = "${ctxAdmin}";
    </script>
    <script src="${ctxStatic}/front/js/payment.js" type="text/javascript"></script>
</head>
<body style="background: #f8f8f8;">
<!--content-->
<div class="wrap whitebg">
    <div class="zfzt">
        <div class="zfleft">
            <dl>
                <dt><img src="${ctxStatic}/front/images/cg.png" width="60"></dt>
                <dd>
                    <p class="dd">订单已提交，请尽快完成支付！</p>
                    <h6>订单编号：${bizEcsOrder.id}</h6>
                </dd>
            </dl>
        </div>
        <div class="zfright">
            <p>支付金额：<i>${bizEcsOrder.mealPrice}元</i></p>
        </div>
    </div>
    <div class="ddxx">
        <h3>订单详细：</h3>
        <form:form id="alipaymentForm" action="" method="post" target="_blank">
            <table>
                <tr>
                    <td>产品名称</td><td>CPU核心数</td><td>内存大小</td><td>磁盘存储大小</td><td>使用天数</td><td>价格</td>
                </tr>
                <tr>
                    <td>${bizEcsOrder.mealName}</td><td>${bizEcsOrder.cpuNumber}核</td><td>${bizEcsOrder.ramSize}G</td><td>${bizEcsOrder.storageSize}G</td><td>${bizEcsOrder.mealUseTime}天</td><td>${bizEcsOrder.mealPrice}元</td>
                </tr>
            </table>
            <input type="hidden" name="id" value="${bizEcsOrder.id}">
            <input type="hidden" name="mealPrice" value="${bizEcsOrder.mealPrice}">
            <input type="hidden" name="setMealId" value="${bizEcsOrder.setMealId}">
            <input type="hidden" name="mealName" value="${bizEcsOrder.mealName}">
            <input type="hidden" name="remarks" value="${bizEcsOrder.remarks}">
        </form:form>
        <h3>请选择以下支付方式:</h3>
        <ul>
            <li><input type="radio" name="payType"><span><img src="${ctxStatic}/front/images/zfb.png"><i>支付宝</i></span></li>
            <li><input type="radio" name="payType"><span><img src="${ctxStatic}/front/images/wx.png"><i>微信支付</i></span></li>
        </ul>
    </div>
    <div class="clear"></div>
    <a href="#" onclick="pay()" class="btn savebtn xgbtn">确认支付</a>
    <input  class="btn greenbg xgsqbtn" type="button"   value="返回" onclick="history.go(-1)"/>
</div>
</body>
</html>
